package com.conversationboard.model.sockpuppets;

import java.util.Date;

import com.conversationboard.formatter.DateFormatter;

public class Sockpuppet {

	private String loginId;
	private String displayName;
	private Date creationDate;
	private Date lastLoggedIn;
	private boolean permanent;


	public String getLoginId() {
		return loginId;
	}


	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}


	public String getDisplayName() {
		return displayName;
	}


	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}


	public Date getCreationDate() {
		return creationDate;
	}


	public String getCreationDateString() {
		return DateFormatter.prettyPrintTime(this.getCreationDate(), null, true, true);
	}


	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}


	public Date getLastLoggedIn() {
		return lastLoggedIn;
	}


	public String getLastLoggedInString() {
		return DateFormatter.prettyPrintTime(this.getLastLoggedIn(), null, true, true);
	}


	public void setLastLoggedIn(Date lastLoggedIn) {
		this.lastLoggedIn = lastLoggedIn;
	}


	public boolean isPermanent() {
		return permanent;
	}


	public void setPermanent(boolean permanent) {
		this.permanent = permanent;
	}

}
